<?php

/*
 * This file is part of the Geek-Zoo Projects.
 *
 * @copyright (c) 2010 Geek-Zoo Projects More info http://www.geek-zoo.com
 * @license http://opensource.org/licenses/gpl-2.0.php The GNU General Public License
 * @author xuanyan <xuanyan@geek-zoo.com>
 *
 */

require_once ROOT_PATH.'/Abstract/front_abstract.php';

class Action extends front_abstract
{
    function index()
    {
        $param = array(
            'id' => _POST('id', 0),
            'status' => _POST('status'),
            'is_comment' => _POST('is_comment', 0)
        );

        $return = $this->api->repost($this->access_token,  $param);

        exit('1');
    }
}


?>